﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Web.Profile;

namespace ddcCajamarca.Web.Account
{
    public partial class frmAdminRol : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //validar el susuario actual que inico sesion
            //esta en el rol admin
            if (!Roles.IsUserInRole("Admin"))
            {
                Response.Redirect("~/Account/Login.aspx");
            }

        }
    }
}